package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "video_look_tbl")
@Alias(value = "videoLookTbl")
public class VideoLookTbl extends PageDto {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    /**
     * 视频id
     */
    @Column(name = "video_id")
    private Long videoId;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 创建时间
     */
    @Column(name = "created_time")
    private Long createdTime;
    /**
     * 设备
     */
    @Column(name = "device_id")
    private String deviceId;
    /**
     * 观看时间
     */
    @Column(name = "look_time")
    private Long lookTime;


    private User user;


    public Long getVideoId() {
        return videoId;
    }


    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }


    public Long getUserId() {
        return userId;
    }


    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public Long getCreatedTime() {
        return createdTime;
    }


    public void setCreatedTime(Long createdTime) {
        this.createdTime = createdTime;
    }


    public String getDeviceId() {
        return deviceId;
    }


    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }


    public Long getLookTime() {
        return lookTime;
    }


    public void setLookTime(Long lookTime) {
        this.lookTime = lookTime;
    }


    public User getUser() {
        return user;
    }


    public void setUser(User user) {
        this.user = user;
    }


}
